package cn.netbox.spring.service.impl;

import cn.netbox.spring.service.WXYService;
import org.springframework.stereotype.Service;

@Service("wxyServiceProxy")
public class WXYServiceProxy implements WXYService {
    private WXYService target=new WXYServiceImpl();
    public void rentalHouse() {
        System.out.println("推销房源给客户");
        target.rentalHouse();

    }

    public void rentCollection() {
        System.out.println("加价");
        target.rentCollection();

    }
}
